# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>

pkgname=archlinux-wallpaper
pkgver=1.6.1
pkgrel=3
pkgdesc='Arch Linux Wallpapers'
arch=(any)
url='https://bbs.archlinux.org/viewtopic.php?id=259604'
optdepends=('wallutils: support the simple timed wallpaper format')
license=(custom:CC0 custom:SPL)
source=("https://github.com/xyproto/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('eb50f5ff9724a00b4bd0f04d14127a621be4244d5f6065097283246684c084c0')

package() {
  cd "$pkgname-$pkgver"
  install -Dm644 -t "$pkgdir/usr/share/backgrounds/archlinux/" archlinux.stw img/*
  install -Dm644 -t "$pkgdir/usr/share/gnome-background-properties/" arch-backgrounds.xml
  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.md
}
